package com.ljf.daily.makemoneysoftware.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * 联系电话枚举
 *
 * @author LJF
 * @since 2024-01-26
 */
@Getter
public enum PhoneEnum implements BasicEnum {

    PHONE_ONE(1, "13536638718"),
    PHONE_TWO(2, "13690394973"),
    PHONE_THREE(3, "18923105284");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

    PhoneEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

}
